package com.ly.heart.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.common.core.domain.AjaxResult;
import com.ly.heart.domain.KingInvoicePayableOtherEntity;
import com.ly.heart.domain.dto.KingInvoicePayableOtherDto;
import com.ly.heart.domain.vo.KingInvoicePayableOtherVo;

/**
 * 金蝶-财务-其他应付单Service接口
 *
 * @author wutao
 * @date 2024-07-19
 */
public interface IKingInvoicePayableOtherService extends IService<KingInvoicePayableOtherEntity> {
    /**
     * 查询金蝶-财务-其他应付单
     *
     * @param id 金蝶-财务-其他应付单ID
     * @return 金蝶-财务-其他应付单
     */
    KingInvoicePayableOtherVo selectKingInvoicePayableOtherEntityById ( String id );

    /**
     * 查询金蝶-财务-其他应付单列表
     *
     * @param kingInvoicePayableOtherEntity 金蝶-财务-其他应付单
     * @return 金蝶-财务-其他应付单集合
     */
    List<KingInvoicePayableOtherEntity> selectKingInvoicePayableOtherEntityList ( KingInvoicePayableOtherEntity kingInvoicePayableOtherEntity );

    Integer queryCount ( KingInvoicePayableOtherEntity kingInvoicePayableOtherEntity );

    /**
     * 通过Id查询关联对象信息
     *
     * @param id
     * @return
     */
    KingInvoicePayableOtherEntity querySingleById ( String id );

    /**
     * 新增金蝶-财务-其他应付单
     *
     * @param kingInvoicePayableOtherDto 金蝶-财务-其他应付单
     * @return 结果
     */
    AjaxResult draft ( KingInvoicePayableOtherDto kingInvoicePayableOtherDto );


    AjaxResult submit ( KingInvoicePayableOtherEntity kingInvoicePayableOtherEntity );

    /**
     * 修改金蝶-财务-其他应付单
     *
     * @param kingInvoicePayableOtherDto 金蝶-财务-其他应付单
     * @return 结果
     */
    AjaxResult updateKingInvoicePayableOtherEntity ( KingInvoicePayableOtherDto kingInvoicePayableOtherDto );

    /**
     * 批量删除金蝶-财务-其他应付单
     *
     * @param ids 需要删除的金蝶-财务-其他应付单ID
     * @return 结果
     */
    AjaxResult deleteKingInvoicePayableOtherEntityByIds ( String[] ids );

    AjaxResult queryList ( KingInvoicePayableOtherEntity kingInvoicePayableOtherEntity );

}
